SettingsManager

interface SettingsManager

Provides information about the Mobile Payments SDK, such as the SDK version and environment. Also provides access to the payment settings, such as if offline processing is allowed. Additionally, you can display the Square-provided settings screen.

Functions

Link copied to clipboard

Returns a PaymentSettings, used to determine if offline processing is allowed.

Link copied to clipboard
abstract fun getSdkSettings(): SdkSettings

Returns a SdkSettings, used to determine the SDK version and environment.

Link copied to clipboard
abstract fun showSettings(onResult: (SettingsResult) -> Unit)

Used to display the Mobile Payments SDK settings screen.